require('../../assets/css/index.less');
require('./da.less');
window.onload = () => {
    const countdown = document.querySelector('#countdown')
    let time = 5

    let timer = setInterval(() => {
        if (time === 1) {
            clearInterval(timer)
            window.location.href = './login.html'
            return
        }
        time--
        countdown.innerHTML = `${time}S`
    }, 1000)
}